<?php
header("Content-Type:text/html;charset=utf-8");
session_start();
include('conn.php');
$rname= $_POST['rname'];
$radd=$_POST['radd'];
$boosname=$_POST['boosname'];
$boostel=$_POST['boostel'];
$goods=$_POST['goods'];
$day = $_POST['day'];
$sql = "insert into restaurant(rname,radd,boosname,boostel,day,goods) values('$rname','$radd','$boosname','$boostel','$day','$goods')";
$result=mysqli_query($conn,$sql);

echo "<script language=javascript>alert('提交成功,请支付定金！');parent.location.href='caigoupay.php';</script>";
/*echo "<script language=javascript>alert('提交成功,请支付定金！')</script>";*/


?>